﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;

namespace ProjScan.ScanRule.ProjectAssets.Mesh
{
	// Token: 0x020001E8 RID: 488
	[MeshRuleAttr]
	internal class Mesh_TriangleLimit : RecordRuleImp<MeshGeometryAssetData, MeshGeometryRecordManager>
	{
		// Token: 0x06000EDB RID: 3803 RVA: 0x00042A48 File Offset: 0x00040C48
		protected override bool IsOK(MeshGeometryAssetData assetData)
		{
			return (float)assetData.trianglesCount <= this.GetThresholds(500f);
		}
	}
}
